import { View } from "../../../../mvc/core/View";
import { LayerManager } from "../../../manager/LayerManager";
import { ObjCreate } from "../../common/ObjCreate";
import { EffectManager } from "../../../manager/EffectManager";
import { FilterConst } from "../../../../component/gconst/FilterConst";
import { GLoadedButton } from "../../../../../com/mui/controls/GLoadedButton";
//class NormalGuideBaseIcon
    
    export  class NormalGuideBaseIcon extends View
    {
        constructor(arg1: string=null)
        {
            super();
            this._fileName = arg1;
            this.initUi();
            return;
        }

        protected initUi(): void
        {
            buttonMode = true;
            layer = LayerManager.rightTopUILayer;
            this._loadedBtn = ObjCreate.createGLoadedButton(this._fileName, 0, 0, 60, 50, this);
            EffectManager.glowFilterReg(this, [FilterConst.guideTipsFilter], 0.6, 10, 5, 20);
            return;
        }

        public clean(): void
        {
            EffectManager.glowFilterUnReg(this);
            return;
        }

        protected /* var */_loadedBtn: GLoadedButton;

        protected /* var */_fileName: string;
    }
